ModifyLoginSwitchConfig
Description
call ModifyLoginSwitchConfig to turn on or off login security settings in the basic information of a single asset.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyLoginSwitchConfig
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Status | BODY | integer | Yes | 0 | configure the state of the switch. Value: 0: close 1: open |
| Item | BODY | string | Yes | login_common_account | the type of switch to be turned on or off. Value: login_common_ip: very use login IP alarm login_common_time: very use login time alarm login_common_account: very use account login alarm |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | B256A525-7E42-4BB9-A27C-9017FDDFF1A2 | the unique identifier generated by alibaba cloud for this request. |
Example
Successful Response example
{
"RequestId":"B256A525-7E42-4BB9-A27C-9017FDDFF1A2"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}